You are viewing an archived page from the original site. Go to the new numericalmethod.com →

source: public/benchmark/Notes on JRI installation.txt @ 144

Revision 96, 520 bytes checked in by kenyiu, 2 months ago (diff)

CHG: Updated JRI installation notes.

Line 
1Steps:
21. In R, run command:
3> install.packages("rJava");
42. ADD R_HOME\bin\x64 and rJava_DIR\jri\x64 to the PATH variable in the environment variables (need to restart the IDE to take effect). For example, R_HOME is "C:\Program Files\R\R-2.14.1", rJava_DIR is "C:\Users\**\Documents\R\win-library\2.14\rJava" or "C:\Program Files\R\R-2.14.1\library\rJava".
53. Use new JRIEngine() to create and start a new instance of R in java
64. Call JRIEngine.close() to let your application exit. Otherwise, it will hang there.
Note: See TracBrowser for help on using the repository browser.